import Layout from '@/layout'

const staff = {
  path: '/staff',
  component: Layout,
  redirect: 'noRedirect',
  name: 'staff',
  meta: {
    title: '员工管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'driver',
      component: () => import('@/views/staff/driver/index'),
      name: 'Driver',
      meta: { title: '快递员管理', noCache: true }
    },
    {
      path: 'operational-range',
      component: () => import('@/views/staff/operational-range/index'),
      name: 'OperationalRange',
      meta: { title: '司机列表', noCache: true }
    },
    {
      path: 'workArrange-manage',
      component: () => import('@/views/staff/workArrange-manage/index'),
      name: 'WorkArrangeManage',
      meta: { title: '排班登记', noCache: true }
    }
  ]
}

export default staff
